
void UI_MouseWidget::init() {
    lLeftButton->setText("");
    lRightButton->setText("");
    
    int fsize;
#ifdef __APPLE__
    fsize = 9;
#else
    fsize = 7;
#endif
    
    PF_SETTINGS->beginGroup("/Appearance");
    fsize = PF_SETTINGS->readNumEntry("/StatusBarFontSize", fsize);
    PF_SETTINGS->endGroup();
    
    lLeftButton->setFont(QFont("Helvetica", fsize));
    lRightButton->setFont(QFont("Helvetica", fsize));
}

void UI_MouseWidget::setHelp(const QString& left, const QString& right) {
    lLeftButton->setText(left);
    lRightButton->setText(right);
}
